package com.leyou.dao;

import com.leyou.domain.db1entity.Couponrecord;
import com.leyou.domain.db1entity.CouponrecordExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CouponrecordMapper {
    long countByExample(CouponrecordExample example);

    int deleteByExample(CouponrecordExample example);

    int deleteByPrimaryKey(String recordkey);

    int insert(Couponrecord record);

    int insertSelective(Couponrecord record);

    List<Couponrecord> selectByExample(CouponrecordExample example);

    Couponrecord selectByPrimaryKey(String recordkey);

    int updateByExampleSelective(@Param("record") Couponrecord record, @Param("example") CouponrecordExample example);

    int updateByExample(@Param("record") Couponrecord record, @Param("example") CouponrecordExample example);

    int updateByPrimaryKeySelective(Couponrecord record);

    int updateByPrimaryKey(Couponrecord record);
}